using System;
using System.Collections.Generic;
using WindowsPhoneMVC.ActionResults;

namespace WindowsPhoneMVC.Tests.Navigation.Fakes
{
    public class FakeController : Controller
    {
        public ActionResult SomeAction()
        {
            return Page();
        }

        public ActionResult SomeAction(int arg)
        {
            return Page();
        }

        public ActionResult SomeAction(int arg1, List<string> arg2)
        {
            return Page();
        }

        public ActionResult ActionWithResult()
        {
            return Result("testresult");
        }

        public ActionResult SomeAction(ViewModelBase viewModel)
        {
            return Page(viewModel);
        }

        public ActionResult DoNothing()
        {
            return Nothing();
        }

        public ActionResult ThrowExceptionAction()
        {
            throw new InvalidOperationException();
        }
    }
}